TEMPLATE = app
CONFIG += console c++17
CONFIG -= app_bundle
#CONFIG -= qt

SOURCES += \
        db.cpp \
        main.cpp \
        my_sever.cpp \
        server.cpp \
        tcpsocket.cpp \
        thread.cpp \
        user.cpp

HEADERS += \
    cmd.h \
    db.h \
    json.hpp \
    my_sever.h \
    server.h \
    tcpsocket.h \
    thread.h \
    user.h
LIBS += -levent -lpthread -lmysqlclient -lcurl
 # Qt6 中部分旧头文件移到了这里 # 确保包含 core 模块
QT += core

